package com.umpay.dto.merAccess.req.recharge;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: RechargeWyReq  
 * @Description: 网银充值请求类
 * @author zhangtao  
 * @date Jan 17, 2018
 */
public class RechargeNetBankReq extends CommonReq{
	
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String order_id;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String mer_date;
	
	/**
	 * 支付方式  B2CDEBITBANK（借记卡网银） B2BBANK（企业网银）
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String pay_type;
	
	/**
	 * 平台用户号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String user_id;
	
	/**
	 * 用户类型  1：个人用户  2：个体户  3：企业用户
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String user_type;
	
	/**
	 * 账户类型  01：基础类型
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String acc_type;
	
	/**
	 * 支付协议号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String p_agreement_id;
	
	/**
	 * 充值金额
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String 	amount;

	/**发卡行编号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String gate_id;
	
	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getMer_date() {
		return mer_date;
	}

	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}

	public String getPay_type() {
		return pay_type;
	}

	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUser_type() {
		return user_type;
	}

	public void setUser_type(String user_type) {
		this.user_type = user_type;
	}

	public String getAcc_type() {
		return acc_type;
	}

	public void setAcc_type(String acc_type) {
		this.acc_type = acc_type;
	}

	public String getP_agreement_id() {
		return p_agreement_id;
	}

	public void setP_agreement_id(String p_agreement_id) {
		this.p_agreement_id = p_agreement_id;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getGate_id() {
		return gate_id;
	}

	public void setGate_id(String gate_id) {
		this.gate_id = gate_id;
	}

	@Override
	public String toString() {
		return "RechargeWyReq [order_id=" + order_id + ", mer_date=" + mer_date + ", pay_type=" + pay_type
				+ ", user_id=" + user_id + ", user_type=" + user_type + ", acc_type=" + acc_type + ", p_agreement_id="
				+ p_agreement_id + ", amount=" + amount + ", gate_id=" + gate_id + "]";
	}
	
}
